<?php


namespace App\Extensions;


use Encore\Admin\Layout\Content;

class ContentSingle extends Content
{
    public function render()
    {
        $items = [
            'header'      => $this->title,
            '_content_'   => $this->build(),
            '_view_'      => $this->view,
            '_user_'      => $this->getUserData(),
        ];

        return view('content-single', $items)->render();
    }

}
